package test02.function.demo03;

/**
 * @author ZJL
 * @date 2025-04-02
 */
public class MainTest {
    public static void main(String[] args) {
//        InterfaceTest it = ()->{
//            System.out.println("函数式接口抽象方法的实现");
//        };

        InterfaceTest it = a -> a * 2;
        System.out.println(it.test(2));
    }
}
